package com.mbc.mapper;

import com.mbc.pojo.MbcSign;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SignMapper {
    /**
     * 按用户 ID 获取
     *
     * @param userId 用户 ID
     * @return {@link MbcSign}
     */
    @Select("select * from mbc_sign where sign_id = #{signId}")
    MbcSign getByUserId(String userId);
}
